$(document).ready(function() {
	$.get("./cs1", function(data) {
		$('#playerhand').html(data);
	});
	$('#playerhand img').css('margin-right', '5px');
	
	$('#playerhand').on("click", "img", function() {
		$(this).toggleClass("choosen");
		$('#playerhand img.choosen').each(function() {
			alert($(this).attr('id'));
		});
	});
});
$(document).load(function() {
})